package com.ruoyi.spspublic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
//import com.ruoyi.common.core.domain.BasePartyEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * api请求配置对象 t_mis_base_job
 *
 * @author ruoyi
 * @date 2022-03-04
 */
public class TMisBaseJob /**extends BasePartyEntity**/ {
  private static final long serialVersionUID = 1L;

  /** 序号 */
  private Long amId;

  /** 业务类型 */
  @Excel(name = "业务类型")
  private String ctBussType;

  /** 业务名称 */
  @Excel(name = "业务名称")
  private String ctBussName;

  /** 请求地址 */
  @Excel(name = "请求地址")
  private String ctUrl;

  /** key */
  @Excel(name = "key")
  private String ctHeadKey;

  /** 请求头 */
  @Excel(name = "请求头")
  private String ctHeadVal;

  /** 请求参数 */
  @Excel(name = "请求参数")
  private String ctBody;

  /** 获得的token */
  @Excel(name = "获得的token")
  private String ctCurToken;

  /** 获得的cookie对象 */
  @Excel(name = "获得的cookie对象")
  private String ctCookie;

  /** 最新日期 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "最新日期", width = 30, dateFormat = "yyyy-MM-dd")
  private Date dtMaxDate;

  /** 说明 */
  @Excel(name = "说明")
  private String ctMark;

  /** api登录账号 */
  @Excel(name = "api登录账号")
  private String account;

  /** api登录密码 */
  @Excel(name = "api登录密码")
  private String password;

  public void setAmId(Long amId) {
    this.amId = amId;
  }

  public Long getAmId() {
    return amId;
  }

  public void setCtBussType(String ctBussType) {
    this.ctBussType = ctBussType;
  }

  public String getCtBussType() {
    return ctBussType;
  }

  public void setCtBussName(String ctBussName) {
    this.ctBussName = ctBussName;
  }

  public String getCtBussName() {
    return ctBussName;
  }

  public void setCtUrl(String ctUrl) {
    this.ctUrl = ctUrl;
  }

  public String getCtUrl() {
    return ctUrl;
  }

  public void setCtHeadKey(String ctHeadKey) {
    this.ctHeadKey = ctHeadKey;
  }

  public String getCtHeadKey() {
    return ctHeadKey;
  }

  public void setCtHeadVal(String ctHeadVal) {
    this.ctHeadVal = ctHeadVal;
  }

  public String getCtHeadVal() {
    return ctHeadVal;
  }

  public void setCtBody(String ctBody) {
    this.ctBody = ctBody;
  }

  public String getCtBody() {
    return ctBody;
  }

  public void setCtCurToken(String ctCurToken) {
    this.ctCurToken = ctCurToken;
  }

  public String getCtCurToken() {
    return ctCurToken;
  }

  public void setCtCookie(String ctCookie) {
    this.ctCookie = ctCookie;
  }

  public String getCtCookie() {
    return ctCookie;
  }

  public void setDtMaxDate(Date dtMaxDate) {
    this.dtMaxDate = dtMaxDate;
  }

  public Date getDtMaxDate() {
    return dtMaxDate;
  }

  public void setCtMark(String ctMark) {
    this.ctMark = ctMark;
  }

  public String getCtMark() {
    return ctMark;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getAccount() {
    return account;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getPassword() {
    return password;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("amId", getAmId())
        .append("ctBussType", getCtBussType())
        .append("ctBussName", getCtBussName())
        .append("ctUrl", getCtUrl())
        .append("ctHeadKey", getCtHeadKey())
        .append("ctHeadVal", getCtHeadVal())
        .append("ctBody", getCtBody())
        .append("ctCurToken", getCtCurToken())
        .append("ctCookie", getCtCookie())
        .append("dtMaxDate", getDtMaxDate())
        .append("ctMark", getCtMark())
        .append("account", getAccount())
        .append("password", getPassword())
        .toString();
  }
}
